package com.crm.dao.mapper.internalTrainingManager;

import com.crm.model.entity.internalTrainingManager.CustomerUser;
import com.crm.model.entity.internalTrainingManager.CustomerUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerUserMapper {
    long countByExample(CustomerUserExample example);

    int deleteByExample(CustomerUserExample example);

    int deleteByPrimaryKey(@Param("customerUserId") String customerUserId, @Param("customerId") String customerId);

    int insert(CustomerUser record);

    int insertSelective(CustomerUser record);

    List<CustomerUser> selectByExample(CustomerUserExample example);

    CustomerUser selectByPrimaryKey(@Param("customerUserId") String customerUserId, @Param("customerId") String customerId);

    int updateByExampleSelective(@Param("record") CustomerUser record, @Param("example") CustomerUserExample example);

    int updateByExample(@Param("record") CustomerUser record, @Param("example") CustomerUserExample example);

    int updateByPrimaryKeySelective(CustomerUser record);

    int updateByPrimaryKey(CustomerUser record);
}